//
//  TrendTopicDetail.m
//  ShanMei
//
//  Created by huazi on 15/3/6.
//  Copyright (c) 2015年 huazi. All rights reserved.
//

#import "TrendTopicDetail.h"

@implementation TrendTopicDetail
-(instancetype)initWithDic:(NSDictionary *)dic
{
    if (self =[super init])
    {
        self.pkTopics =[dic objectForKey:@"pkTopics"];
        self.userType =[dic objectForKey:@"userType"];
        self.userId =[dic objectForKey:@"userId"];
        self.userName =[dic objectForKey:@"userName"];
        self.picUrl =[dic objectForKey:@"picUrl"];
        self.doctorUserId =[dic objectForKey:@"doctorUserId"];
        self.doctorUserName =[dic objectForKey:@"doctorUserName"];
        self.topicType =[dic objectForKey:@"topicType"];
        self.level =[dic objectForKey:@"level"];
        self.realStatus =[dic objectForKey:@"realStatus"];
        self.reviewLevel =[dic objectForKey:@"reviewLevel"];
        self.sex =[dic objectForKey:@"sex"];
        self.suceCaseCount =[dic objectForKey:@"suceCaseCount"];
        self.failCaseCount =[dic objectForKey:@"failCaseCount"];
        self.userTags =[dic objectForKey:@"userTags"];
        self.topicTags =[dic objectForKey:@"topicTags"];
        self.title =[dic objectForKey:@"title"];
        self.content =[dic objectForKey:@"content"];
        self.insertOprDate =[dic objectForKey:@"insertOprDate"];
        self.rebiew1Count =[dic objectForKey:@"rebiew1Count"];
        self.rebiewCount =[dic objectForKey:@"rebiewCount"];
        self.shareCount =[dic objectForKey:@"shareCount"];
        self.picList =[dic objectForKey:@"picList"];
        self.isGood =[dic objectForKey:@"isGood"];
    }
    return self;
}
-(void)setDataWithDic:(NSDictionary *)dic
{
    self.pkTopics =[dic objectForKey:@"pkTopics"];
    self.userType =[dic objectForKey:@"userType"];
    self.userId =[dic objectForKey:@"userId"];
    self.userName =[dic objectForKey:@"userName"];
    self.picUrl =[dic objectForKey:@"picUrl"];
    self.doctorUserId =[dic objectForKey:@"doctorUserId"];
    self.doctorUserName =[dic objectForKey:@"doctorUserName"];
    self.topicType =[dic objectForKey:@"topicType"];
    self.level =[dic objectForKey:@"level"];
    self.realStatus =[dic objectForKey:@"realStatus"];
    self.reviewLevel =[dic objectForKey:@"reviewLevel"];
    self.sex =[dic objectForKey:@"sex"];
    self.suceCaseCount =[dic objectForKey:@"suceCaseCount"];
    self.failCaseCount =[dic objectForKey:@"failCaseCount"];
    self.userTags =[dic objectForKey:@"userTags"];
    self.topicTags =[dic objectForKey:@"topicTags"];
    self.title =[dic objectForKey:@"title"];
    self.content =[dic objectForKey:@"content"];
    self.insertOprDate =[dic objectForKey:@"insertOprDate"];
    self.rebiew1Count =[dic objectForKey:@"rebiew1Count"];
    self.rebiewCount =[dic objectForKey:@"rebiewCount"];
    self.shareCount =[dic objectForKey:@"shareCount"];
    self.picList =[dic objectForKey:@"picList"];
    self.isGood =[dic objectForKey:@"isGood"];
}
@end
